package com.example.night.data.Good;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;

@Data
public class GoodData {
    private List<Good> items;
    private Pagination pagination;

    @Data
    public static class Pagination {
        private int limit;
        private int page;

        @JsonProperty("total_count")
        private int totalCount;
    }
}
